import React, { PureComponent } from 'react';

import { HomeWrapper, H2Title } from './style'

export default class Home extends PureComponent {
  render() {
    return (
      <HomeWrapper>
        {/* 如果觉得和别的地方 会产生层叠 可以使用这种形式 */}
        <H2Title>我是home的标题</H2Title>

        <div className="banner">
          <span>轮播图</span>
          <span>轮播图2</span>
          <span className="active">轮播图3</span>
          <span>轮播图4</span>
        </div>
        <hr />
      </HomeWrapper>
    )
  }
}
